ostree/dump: Include collection IDs and mirrored refs in summary dumps
authorPhilip Withnall <withnall@endlessm.com>
Wed, 7 Jun 2017 13:53:58 +0000 (14:53 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 26 Jun 2017 15:56:07 +0000 (15:56 +0000)
commit18456d25fb1071909b83e203c16ad898cd651f7b
tree13624e53882f83e25c03161f15abb9d97386e602
parentb7b79fa78d34a34cb75aeca4d0b041586ed74224
ostree/dump: Include collection IDs and mirrored refs in summary dumps

If a repository’s summary file includes a collection ID, output that. If
it includes refs from other collections (in the ‘collection map’), output
those and include the same metadata detail as for refs in the summary
file’s main refs map.

If collection IDs are specified in the summary file, this changes the
output format from `ostree summary -v` to use (collection ID, ref name)
tuples.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #924
Approved by: cgwalters
src/ostree/ot-dump.c